#pragma once
#include "..\GameLogic\IStrategy.h"
class ICell;
class CStrategy :
	public IStrategy
{
public:
	enum CELL_TYPE
	{
		CELL_TYPE_WOLF = 2,
		CELL_TYPE_SHEEP = 3,
	};
	CStrategy(IGrid* grid);
	bool CanBeSelected(CCPoint point, int cellType);
	void ApplyRules();
	void ApplyAIMove();
protected:
	void ApplyCleanRule(CCPoint point, int cellType);
	bool CanBeSelectedWolf(CCPoint point);
	CCPoint GetWolfPosition();
	ICell* GetCellBetweenByStep(CCPoint from, CCPoint to, CCPoint& posStep);
private:
	CCPoint m_wolfPosition;

};

